package com.ihr360.payroll.dao;

import com.ihr360.payroll.model.dto.salary.report.MergeSalaryReport;
import com.ihr360.rest.reposity.SimpleRestReposity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Eric on 2018/4/12/012.
 */
public interface MergeSalaryReportRepository extends SimpleRestReposity<MergeSalaryReport, Long> {

    Page<MergeSalaryReport> findByCompanyId(String companyId, Pageable pageable);

    Page<MergeSalaryReport> findByCompanyIdAndIdIn(String companyId, List<Long> idList, Pageable pageable);

    MergeSalaryReport findByCompanyIdAndId(String companyId, Long id);

    List<MergeSalaryReport> findByCompanyId(String companyId);

}
